# 定义一个Car类
class Car:
    def __init__(self,wheelNum,color):
        self.wheelNum = wheelNum
        self.color = color

    def getCarinfo(self):
        print('车轮子个数：%d, 颜色%s'%(self.wheelNum, self.color))
    def run(self):
        print('车在跑')


FLP = Car(2, 'blue')
FLP.getCarinfo()
FLP.run()
















